package com.iflytek.day10;

class _05_Student {
  private String name;
  private int age;

  // 构造方法
  public _05_Student() {
    System.out.println("无参构造方法");
  }

  public void show() {
    System.out.println(name + "," + age);
  }
}

/*
    测试类
 */
public class _05_StudentDemo {
  public static void main(String[] args) {
    // 创建对象
    _05_Student s = new _05_Student();
    s.show();
  }
}